﻿using System.Drawing;

namespace CommonHelpers
{
    public sealed class DefaultGraphics
    {
        private static readonly Graphics _instance = new DefaultGraphics().g;
        public static Graphics Instance
        {
            get
            {
                return _instance;
            }
        }

        private DefaultGraphics()
        {
            Bitmap b = new Bitmap(1, 1);
            g = Graphics.FromImage(b);
        }

        private Graphics g;
    }
}